package myky.com.doctorapp.event;

import android.content.Context;

import java.util.List;

/**
 * Created by 61904 on 2017/2/24.
 *
 * EventBus用来传递消息的工具类
 */

public  class MessageEvent {

    private String message;

    public MessageEvent(String message) {
        this.message = message;
    }



    public String getMessage() {

        return message;
    }



    public void setMessage(String message) {
        this.message = message;
    }


    public static class MessageOne{

        private String messageone;

        public MessageOne(String messageone) {
            this.messageone = messageone;
        }

        public String getMessageone() {
            return messageone;
        }


    }

    public static class MessageTwo{

        private String messagetwo;

        public MessageTwo(String messagetwo) {
            this.messagetwo = messagetwo;
        }

        public String getMessagetwo() {
            return messagetwo;
        }
    }

    //判断网络的消息传递类
    public class MessageThree{

        private String messagethree;
        public MessageThree(String messagethree) {
            this.messagethree = messagethree;
        }

        public String MessageThree() {
            return messagethree;
        }
    }


    public static class MessageHealthOthers{

        String messageOthers;
        String activityType;
        List<String> boxList;

        public MessageHealthOthers(List<String> boxList, String messageOthers, String activityType) {
            this.messageOthers = messageOthers;
            this.activityType = activityType;
            this.boxList=boxList;
        }



        public String getMessageOthers() {

            return messageOthers;
        }

        public String getActivityType() {
            return activityType;
        }

        public List<String> getBoxList() {
            return boxList;
        }
    }

     public static class PushImageView {

         boolean hasNews;
         public PushImageView(boolean hasNew) {

             hasNews=hasNew;
         }

         public boolean getHasNews() {
             return hasNews;
         }

         public void setHasNews(boolean hasNews) {
             this.hasNews = hasNews;
         }
     }

    public static class MessageCamera{

        private String imagePath;

        public MessageCamera(String imagePath) {
            this.imagePath = imagePath;
        }


        public String getImagePath() {
            return imagePath;
        }
    }

    public static class MessageObject{

        private Context context;
        private Object object;


        public MessageObject(Context context, Object object) {
            this.context = context;
            this.object = object;
        }

        public Object getObject() {
            return object;
        }

        public Context getContext() {
            return context;
        }
    }
}
